Boilerplate, CI - #5
Open
synesissoftware wants to merge 17 commits into
Open
synesissoftware wants to merge 17 commits into
synesissoftware wants to merge 17 commits into
Conversation
Give the 28 in-wave C/C++ projects (and gold **c** / **cxx** / **c_cxx** templates) a sorted **files.associations** union of all associations found under **~/dev**;
Align library version macros to c-cpp-standards. Define MAJOR, MINOR, PATCH, and ALPHABETA; compute PREFIX_VER by shifts; keep REVISION as a skip-section alias of PATCH (target at column 60); retain named historical VER_* constants only for comparison and documentation.
Align the top-level CMake layout with current Synesis boilerplate: - set CMP0177 when CMake >= 3.31; - default to C17/C++17, with MSVC < 1930 falling back to C90/C++98; - honour MSVC_USE_MT for the static runtime; - add LanguageFullVersion.cmake and a TargetMacros.cmake stub; - resolve STLSoft via -DSTLSOFT / $STLSOFT / find_package, raise xTests floor to 0.26, and optionally detect shwild; - discriminate targets with _BUILD_AS_UNIX / _BUILD_AS_WIN32; - install package config under CMAKE_INSTALL_LIBDIR; - emit a completion notice with language standards and build type;
Replace the secure/non-secure sprintf fork in the floating-point filter shim with fastformat_util_snprintf, clearing Apple Clang's deprecated sprintf error under -Werror; silence -Wdeprecated-declarations for the custom_type.inserter example that still calls sprintf;
Pass file_lines entries to xTests via string-access shims instead of .c_str(); replace sprintf with bounded snprintf (and %.*s where views lack c_str) in performance harnesses.
Bring helper scripts and scratch coverage in line with Synesis boilerplate: - modernise build_cmake.sh for .sis project identity, SIS_CMAKE_* overrides, and optional target lists; - add run_all_scratch_tests.sh; - add test.scratch.versions reporting FASTFORMAT_VER and _STLSOFT_VER;
mwsis
approved these changes
Sep 18, 2026
Use Dir=$(cd "$(dirname "$ScriptPath")" && pwd) so paths with spaces resolve reliably; apply the same one-line fix across in-wave helper scripts (prepare/build/clean/ctest/remove and run_all_*).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.